package com.wechat.wechat.service;

import com.lly835.bestpay.model.PayResponse;
import com.lly835.bestpay.model.RefundResponse;
import com.wechat.wechat.dto.OrderDTO;

/**
 * @author NN
 * @2020/2/25 18:40
 */
public interface PayService {
    /**
     * 创建预付单信息
     */
    public PayResponse create(OrderDTO orderDTO);

    /**
     * 处理支付异步通知
     */
    public PayResponse notify(String notifyData);

    /**
     * 微信退款
     */
    RefundResponse refund(OrderDTO orderDTO);
}